package com.nexen.merchant.serviceRequest.service;

import com.nexen.merchant.serviceRequest.domain.NexenServicerequest;

import java.util.List;

/**
 * 换胎申请Service接口
 * 
 * @author xiao
 * @date 2024-08-03
 */
public interface INexenServicerequestService 
{
    /**
     * 查询换胎申请
     * 
     * @param Id 换胎申请主键
     * @return 换胎申请
     */
    public NexenServicerequest selectNexenServicerequestById(Long Id);

    /**
     * 查询换胎申请列表
     * 
     * @param nexenServicerequest 换胎申请
     * @return 换胎申请集合
     */
    public List<NexenServicerequest> selectNexenServicerequestList(NexenServicerequest nexenServicerequest);

    /**
     * 新增换胎申请
     * 
     * @param nexenServicerequest 换胎申请
     * @return 结果
     */
    public int insertNexenServicerequest(NexenServicerequest nexenServicerequest);

    /**
     * 修改换胎申请
     * 
     * @param nexenServicerequest 换胎申请
     * @return 结果
     */
    public int updateNexenServicerequest(NexenServicerequest nexenServicerequest);

    /**
     * 批量删除换胎申请
     * 
     * @param Ids 需要删除的换胎申请主键集合
     * @return 结果
     */
    public int deleteNexenServicerequestByIds(Long[] Ids);

    /**
     * 删除换胎申请信息
     * 
     * @param Id 换胎申请主键
     * @return 结果
     */
    public int deleteNexenServicerequestById(Long Id);

    /**
     *
     * @param nexenServicerequest
     * @return
     */
    public int updateAuditNexenServicerequest(NexenServicerequest nexenServicerequest);

    /**
     * 查询所有换胎申请
     * @param nexenServicerequest
     * @return
     */
    public List<NexenServicerequest> selectAllList(NexenServicerequest nexenServicerequest);

    /**
     * 批量更新，发送短信状态
     *
     * @param ids
     * @return
     */
    int updateNexenServicerequestSendSMSByIds(List<Long> ids);

}
